package com.angel.bo.file.service;

import com.angel.bo.file.param.MultipartFileParam;
import org.springframework.http.ResponseEntity;

import java.io.IOException;

/**
 * @Author: Haibo.Mei [Haibo.Mei@ge.com]
 * @Description:
 * @Date: 11:29 2018/2/28 
 */
public interface FileService {


    /**
     * 上传块文件
     * @param param
     * @return
     */
    ResponseEntity uploadFile(MultipartFileParam param);


    /**
     * 检查文件是否上传成功过
     * @param param
     * @return
     */
    ResponseEntity checkUploadedFile(MultipartFileParam param);
}
